package com.speedchina.permission.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author Winter
 */
@Configuration
@Data
public class ThreadProperties {
    @Value("${speedchina.syslog.thread.threadName:syslog-thread-}")
    String threadName;
    @Value("${speedchina.syslog.thread.corePoolSize:10}")
    Integer corePoolSize;
    @Value("${speedchina.syslog.thread.maximumPoolSize:10}")
    Integer maximumPoolSize;
    @Value("${speedchina.syslog.thread.keepAliveTime:0}")
    Long keepAliveTime;
}
